package com.xxwy.ddu.cms.authonrize.service.impl;

import com.xxwy.ddu.cms.authonrize.entity.MenuMain;
import com.xxwy.ddu.cms.authonrize.mapper.MenuMainMapper;
import com.xxwy.ddu.cms.authonrize.service.IMenuMainService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xxwy
 * @since 2018-09-05
 */
@Service
public class MenuMainServiceImpl extends ServiceImpl<MenuMainMapper, MenuMain> implements IMenuMainService {

    @Autowired
    MenuMainMapper menuMainMapper;

    @Override
    public List<MenuMain> getUserMenuInfo(String uName){
        return menuMainMapper.getMenuInfo(uName);
    }
}
